package com.zdal.sharding.demo.dao;

import com.zdal.sharding.demo.entity.T1;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface T1Mapper {
    int deleteByPrimaryKey(Integer id);

    int insert(T1 record);

    T1 selectByPrimaryKey(@Param("id") Integer id, @Param("name") String name);

    List<T1> selectAll();

    int updateByPrimaryKey(T1 record);
}